#include <iostream>
using namespace std;
void foo(int num)
{
    cout << "int num is " << num << endl;
}
void foo(double num)
{
    cout << "double num is " << num << endl;
}
int main()
{
    foo(1);
    foo(1.2); 
    return 0;
}
